# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ivykis
pkgver=0.43
pkgrel=0
pkgdesc="Library for asynchronous I/O readiness notification"
url="https://github.com/buytenh/ivykis"
arch="all"
license="LGPL-2.1-or-later"
makedepends="automake autoconf libtool"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/buytenh/ivykis/archive/v$pkgver/ivykis-$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="
75bf3878afb76f97ef5327005f58e97d13ba9a67eb5230c25b4a0ec3332f8e3e027f93fc5758554e056c3a00bcfb776862a0263bf251c97cc654b8d0570dafe9  ivykis-0.43.tar.gz
"
